import React from 'react'
import '../../assets/fonts/iconfont.css'

export default function MyIconfont(props) {
    let { font, size, color } = props;
    size = size || '24px'
    color = color || '#666'

    return (
        <>
            <i className={"iconfont " + font}
            style={{
                fontSize:size,
                color:color
            }}></i>
        </>
    )
}
